package domain

import "time"

// Article 聚合根
type Article struct {
	// 理论上应该这样
	//Entity struct {
	//	ID      uint64
	//	Title   string
	//	Content string
	//	Ctime   time.Time
	//	Utime   time.Time
	//}

	// 但是我觉得这样也可以
	ID      uint64
	Title   string
	Content string
	Ctime   time.Time
	Utime   time.Time

	Author Author
}
